package com.laiqilin.service.impl;

import com.laiqilin.entity.Student;
import com.laiqilin.mapper.StudentMapper;
import com.laiqilin.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl implements StudentService {
	@Autowired
	private StudentMapper studentMapper;

	@Override
	public List<Student> findAll() {
		return studentMapper.findAll();
	}
}
